import 'package:flutter/material.dart';
import './item.dart';

class MyGrid extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CustomScrollView(
      primary: false,
      slivers: <Widget>[
        SliverPadding(
          padding: const EdgeInsets.all(20.0),
          sliver: SliverGrid.count(
            crossAxisSpacing: 10.0,
            crossAxisCount: 3,
            children: const <Widget>[
              IconItem(url: 'detail'),
              IconItem(url: 'container'),
              IconItem(url: 'row'),
              IconItem(url: 'text'),
              IconItem(url: 'anamaiton'),
              IconItem(url: 'select'),
            ],
          ),
        ),
      ],
    );
  }
}

